package com.yang.system.domain.orgMng.orgType;

import java.util.Optional;

public interface OrgTypeRepository {
    boolean existsByCodeAndStatus(Long tenantId, String orgTypeCode);

    Optional<Object> findByCodeAndStatus(Long tenantId, String orgTypeCode, OrgTypeStatus orgTypeStatus);
}
